<html lang="zh-CN">

<script>
    function toast(s){
        Toast.postMessage(s);
    }

    function setTitle(s){
        SetTitle.postMessage(s);
    }

    function finishLoad(s){
        console.log(s);
    }
</script>

<body>
    <input type="button" value="Toast:123" onclick="toast('123')"/>
    <input type="button" value="setTitle:456" onclick="setTitle('456')"/>
</body>

</html>